package frobagroup.repositories.backstage;

import frobagroup.entities.backstage.Staff;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by Tinsley on 2018/5/11.
 */
public interface StaffRepository extends MongoRepository<Staff,String>{

    Staff findByEmailOrUsername(String email,String username);

}
